package com.dongdongshop.vo;

import com.dongdongshop.pojo.TbOrder;
import com.dongdongshop.pojo.TbOrderItem;

import java.io.Serializable;
import java.util.List;

public class OrderVO implements Serializable {

    private TbOrder tbOrder;
    private List<TbOrderItem> itemList;

    public OrderVO() {
    }

    public OrderVO(TbOrder tbOrder, List<TbOrderItem> itemList) {
        this.tbOrder = tbOrder;
        this.itemList = itemList;
    }

    public TbOrder getTbOrder() {
        return tbOrder;
    }

    public void setTbOrder(TbOrder tbOrder) {
        this.tbOrder = tbOrder;
    }

    public List<TbOrderItem> getItemList() {
        return itemList;
    }

    public void setItemList(List<TbOrderItem> itemList) {
        this.itemList = itemList;
    }
}
